home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: hpscit.sc.hp.com!hp-apd-news!hpsgm1!tanjm
- From: tanjm@hpsgrt1.sgp.hp.com (Jin-Meng TAN)
- Subject: Re: C programmer confused by streams
- Sender: news@news.sgp.hp.com (NEWS ADMIN)
- Message-ID: <DL1tAv.KJ6@news.sgp.hp.com>
- Date: Fri, 12 Jan 1996 03:20:55 GMT
- References: <DL1r9x.HsJ@news.sgp.hp.com>
- Nntp-Posting-Host: hpsgrt1.sgp.hp.com
- Organization: Hewlett-Packard Singapore
- X-Newsreader: TIN [version 1.2 PL2.2]
-
- Another question :
-
- Is there a generic way to "dup" a stream? e.g. you initialize a class
- instance with a stream which does not result in an error even if the
- original stream goes out of scope (is destroyed).
-
- Thanks
-
- jin meng
-